<template>
	<view class="son_box">
		子组件
	</view>
</template>

<script>
	export default {
		data() {
			return {
				num:1
			}
		},
		created() {
			console.log("created 组件创建完毕状态",this.$data);
		},
		mounted() {
			console.log("mounted 组件挂载结束状态",this.$data);
		},
		beforeDestroy() {
			console.log("beforeDestroy 组件销毁前状态",this.$data);
		},
		methods: {

		}
	}
</script>

<style scoped>
	.son_box{
		background-color: #007AFF;
		padding: 40rpx;
		margin:30rpx;
	}

</style>
